package com.edu.mapper;

import com.edu.bean.User;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface UserMapper {

    int insertUser(User user);

    List<User> selectAllUser();

    List<User> selectAllUserById(int id);

    int deleteUserByName(String name);

    int updateUser(User user);

    List<User> selectUserByMore(@Param("user") User user, @Param("time1") String regTime1, @Param("time2") String regTime2);

    List<User> selectUserWithCard();

    List<User> selectUserWithControlByOperate(String operate);



}
